<div class="row">
    <div class="col s12" dw-loading="newProdListTable">
        <table class="responsive-table centered bordered striped">
            <thead>
                <tr>
                    <th class="pigTh">图片</th>
                    <th>标题</th>
                    <th>所在店铺</th>
                    <th>销售额</th>
                    <th>销售量</th>
                    <th>成交均价</th>
                    <th>收藏数</th>
                    <th>货源</th>
                    <th>流量指数</th>
                    <th>上新时间</th>
                </tr>
            </thead>
            <tbody>
                <tr class="repeat-item" ng-repeat="prod in vm.table.products track by $index" bindonce>
                    <td ng-if="prod.numberId">
                        <a href="https://item.taobao.com/item.htm?id={{prod.numberId}}" target="_blank">
                            <img ng-src="{{prod.picUrl}}" class="w65">
                        </a>
                    </td>
                    <td ng-if="prod.numberId">
                        <!-- <a href = "https://item.taobao.com/item.htm?id={{prod.numberId}}" target = "_blank" ng-bind-html= "prod.titleFormated"></a> -->
                        <a bo-title="prod.title" href="https://item.taobao.com/item.htm?id={{prod.numberId}}" target="_blank" ng-bind-html="prod.title | highlight:vm.filter.title"></a>
                    </td>
                    <td class="detailData cp" ng-if="prod.numberId" ng-click="vm.getShopBasic($event,$index)">
                        <a href="http://store.taobao.com/shop/view_shop.htm?user_number_id={{prod.uid}}" ng-click="clickfn($event)" target="_blank" ng-bind="prod.shopName"></a>
                    </td>
                    <td ng-if="prod.numberId" title="{{prod.sellMoney | number}}" class="hisData cp" jq-popup popup-config="prod" popup-type="'noHTTP'" popup-dim="'historySellMoney'"
                    uib-popover-template="'myPopoverTemplate.html'" popover-class="popover_line" popover-trigger="'outsideClick'" popover-append-to-body="true">
                        {{prod.sellMoney | bigNum}}
                    </td>
                    <td ng-if="prod.numberId" title="{{prod.sellAmount | number}}" class="hisData cp" jq-popup popup-config="prod" popup-type="'noHTTP'" popup-dim="'historySellAmount'"
                    uib-popover-template="'myPopoverTemplate.html'" popover-class="popover_line" popover-trigger="'outsideClick'" popover-append-to-body="true">{{prod.sellAmount | bigNum}}</td>
                    <td ng-if="prod.numberId">{{prod.price}}</td>
                    <td ng-if="prod.numberId" title="{{prod.favCount | number}}" class="hisData cp" jq-popup popup-config="prod" popup-type="'noHTTP'" popup-dim="'historyFavCount'">{{prod.favCount | bigNum}}</td>
                    <td ng-if="prod.numberId" class="cp" emit-product-source emit-prod="prod">
                        <a href="javascript:void(0);">商品货源</a>
                    </td>
                    <td ng-if="prod.numberId" class="hisData cp" jq-popup popup-config="prod" popup-type="'noHTTP'" popup-dim="'historyView'"
                    uib-popover-template="'myPopoverTemplate.html'" popover-class="popover_line" popover-trigger="'outsideClick'" popover-append-to-body="true">{{prod.view || 0}}</td>
                    <td ng-if="prod.numberId">
                        {{prod.importTime}}
                    </td>
                    <td ng-if="prod.monitorDetail" colspan="10">
                        <!-- 店铺详情 -->
                        <shop-stat-data-component shop-uid="prod.uid" ng-if="prod.uid"></shop-stat-data-component>
                    </td>
                </tr>
                <tr ng-show="vm.table.products.length == 0">
                    <td colspan="10">
                        暂无相关商品
                    </td>
                </tr>
            </tbody>
        </table>
        <div class="mt10 center-align">
            <pager page-count="vm.pager.pageCount" current-page="vm.pager.currentPage" on-page-change="vm.pager.onPageChange()" show-goto="true"></pager>
        </div>
    </div>
</div>
